import request from '@/utils/request'

// 查询商品重置列表
export function listConbined_product(query) {
  return request({
    url: '/conbined_product/conbined_product/list',
    method: 'get',
    params: query
  })
}

// 查询商品重置详细
export function getConbined_product(combinedId) {
  return request({
    url: '/conbined_product/conbined_product/' + combinedId,
    method: 'get'
  })
}

// 新增商品重置
export function addConbined_product(data) {
  return request({
    url: '/conbined_product/conbined_product',
    method: 'post',
    data: data
  })
}

// 修改商品重置
export function updateConbined_product(data) {
  return request({
    url: '/conbined_product/conbined_product',
    method: 'put',
    data: data
  })
}

// 删除商品重置
export function delConbined_product(combinedId) {
  return request({
    url: '/conbined_product/conbined_product/' + combinedId,
    method: 'delete'
  })
}
